package siteflash.model;

import java.io.Serializable;
import java.util.ArrayList;

import javax.jdo.annotations.NotPersistent;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable
public class Tag implements Serializable {
	@Persistent
	private String name;
	@Persistent
	@PrimaryKey
	private String alias;
	@Persistent
	private ArrayList<String> games = new ArrayList<String>();
	@NotPersistent
	private int total = 0;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getAlias() {
		return alias;
	}
	public void setAlias(String alias) {
		this.alias = alias;
	}
	public ArrayList<String> getGames() {
		return games;
	}
	public void setGames(ArrayList<String> games) {
		this.games = games;
	}
	
	public int getTotal() {
		return total;
	}
	public void setTotal(int total) {
		this.total = total;
	}
	
}